import Vue from 'vue'
import Router from 'vue-router'
import searchPageLayout from '../views/layout/searchPageLayout'
import colsPageLayout from '../views/layout/colsPageLayout'
import tablePageLayout from '../views/table/tablePageLayout'
import standard from '../views/standard'
import email from '../views/email'
import card from '../views/card'

Vue.use(Router);

const routes = [
    {
        path: '/search-page-layout', component: searchPageLayout, name: '查询管理界面'
    },
    {
        path: '/cols-page-layout', component: colsPageLayout, name: '2列布局界面'
    },
    {
        path: '/list-page-layout', component: email, name: '邮件'
    },
    {
        path: '/card-page-layout', component: card, name: '卡片'
    },
    {
        path: '/table-page-layout', component: tablePageLayout, name: '各式表格'
    },
    {
        path: '/standard', component: standard, name: '界面规范'
    },
]

export default new Router({
    mode: 'history',
    routes
})